package main

import "fmt"

func main() {
	a := new(int)
	fmt.Println(*a)
	*a = 2
	fmt.Println(a, *a)

	mapS := make(map[string]int)
	mapS["age"] = 12
	fmt.Println(mapS)

	// 使用new初始化map
	ls := new(map[string]int)
	fmt.Println(ls)
	//ls["age"] = 12
	//fmt.Println(ls)

	//0
	//0xc00000e0a8 2
	//map[age:12]
	//&map[]

}
